home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / AIIGSIncludes / E16.MIDI < prev    next >
Encoding:
Text File  |  1990-04-03  |  4.0 KB  |  78 lines  |  [TEXT/MPS ]

  1. ; File:  E16.MIDI
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-90
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. miToolNum EQU $0020  ; the tool number of the MIDI Tool Set
  9. miDrvrFileType EQU $00BB  ; filetype of MIDI device driver
  10. miNSVer EQU $0102  ; minimum version of Note Synthesizer required by MIDI Tool Set
  11. miSTVer EQU $0203  ; minimum version of Sound Tools needed by MIDI Tool Set
  12. miDrvrAuxType EQU $0300  ; aux type of MIDI device driver
  13. miStartUpErr EQU $2000  ; MIDI Tool Set is not started 
  14. miPacketErr EQU $2001  ; incorrect length for a received MIDI command
  15. miArrayErr EQU $2002  ; a designated array had an insufficient or illegal size
  16. miFullBufErr EQU $2003  ; input buffer overflow
  17. miToolsErr EQU $2004  ; the required tools were not started up or had insufficient versions
  18. miOutOffErr EQU $2005  ; MIDI output must first be enabled
  19. miNoBufErr EQU $2007  ; no buffer is currently allocated
  20. miDriverErr EQU $2008  ; the designated file is not a legal MIDI device driver
  21. miBadFreqErr EQU $2009  ; the MIDI clock cannot attain the requested frequency
  22. miClockErr EQU $200A  ; the MIDI clock value wrapped to zero
  23. miConflictErr EQU $200B  ; conflicting processes for MIDI input
  24. miNoDevErr EQU $200C  ; no MIDI device driver loaded
  25. miDevNotAvail EQU $2080  ; the requested device is not available
  26. miDevSlotBusy EQU $2081  ; requested slot is already in use
  27. miDevBusy EQU $2082  ; the requested device is already in use
  28. miDevOverrun EQU $2083  ; device overrun by incoming MIDI data
  29. miDevNoConnect EQU $2084  ; no connection to MIDI
  30. miDevReadErr EQU $2085  ; framing error in received MIDI data
  31. miDevVersion EQU $2086  ; ROM version is incompatible with device driver
  32. miDevIntHndlr EQU $2087  ; conflicting interrupt handler is installed
  33. miSetClock EQU $0000  ; set time stamp clock
  34. miStartClock EQU $0001  ; start time stamp clock
  35. miStopClock EQU $0002  ; stop time stamp clock
  36. miSetFreq EQU $0003  ; set clock frequency
  37. miRawMode EQU $00000000  ; raw mode for MIDI input and output
  38. miSetRTVec EQU $0000  ; set real-time message vector
  39. miPacketMode EQU $00000001  ; packet mode for MIDI input and output
  40. miSetErrVec EQU $0001  ; set real-time error vector
  41. miStandardMode EQU $00000002  ; standard mode for MIDI input and output
  42. miSetInBuf EQU $0002  ; set input buffer information
  43. miSetOutBuf EQU $0003  ; set output buffer information
  44. miStartInput EQU $0004  ; start MIDI input
  45. miStartOutput EQU $0005  ; start MIDI output
  46. miStopInput EQU $0006  ; stop MIDI input
  47. miStopOutput EQU $0007  ; stop MIDI output
  48. miFlushInput EQU $0008  ; discard contents of input buffer
  49. miFlushOutput EQU $0009  ; discard contents of output buffer
  50. miFlushPacket EQU $000A  ; discard next input packet
  51. miWaitOutput EQU $000B  ; wait for output buffer to empty
  52. miSetInMode EQU $000C  ; set input mode
  53. miSetOutMode EQU $000D  ; set output mode
  54. miClrNotePad EQU $000E  ; clear all notes marked on in the note pad
  55. miSetDelay EQU $000F  ; set minimum delay between output packets
  56. miOutputStat EQU $0010  ; enable/disable output of running-status
  57. miIgnoreSysEx EQU $0011  ; ignore system exclusive input
  58. miSelectDrvr EQU $0000  ; display device driver selection dialog
  59. miLoadDrvr EQU $0001  ; load and initialize device driver
  60. miUnloadDrvr EQU $0002  ; shutdown MIDI device, unload driver
  61. miNextPktLen EQU $0000  ; return length of next packet
  62. miInputChars EQU $0001  ; return number of characters in input buffer
  63. miOutputChars EQU $0002  ; return number of characters in output buffer
  64. miMaxInChars EQU $0003  ; return maximum number of characters in input buffer
  65. miMaxOutChars EQU $0004  ; return maximum number of characters in output buffer
  66. miRecordAddr EQU $0005  ; return current MidiRecordSeq address
  67. miPlayAddr EQU $0006  ; return current MidiPlaySeq address
  68. miClockValue EQU $0007  ; return current time stamp clock value
  69. miClockFreq EQU $0008  ; return number of clock ticks per second
  70. midiInputPoll EQU $00E101B2 ; MidiInputChannel - vector to poll MIDI input channel
  71. ; offset constants for MiBufInfo
  72. obufSize EQU 0
  73. oaddress EQU 2
  74. ; offset constants for MiDriverInfo
  75. oslot EQU 0
  76. oexternal EQU 2
  77. opathname EQU 4
  78.